package com.blog.wu.myblog.entity;

import com.blog.wu.myblog.base.DataEntity;

import java.util.Date;

/**
 * 文章信息实体类
 *
 * @Date 2018/10/23 上午9:19
 * @Author wuyanshen
 */
public class ArticleInfo extends DataEntity<ArticleInfo> {

    private static final long serialVersionUID = 1L;

    private String userId;

    private String categoryId;

    private String articleTitle;

    private String articleContent;

    private String articleImg;

    private String articleRecom;//是否站长推荐

    private Date articleTime;

    private String articleMark;//是否发布

    private String categoryName;//栏目名称 (临时字段）

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName == null ? null : categoryName.trim();
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId;
    }

    public String getArticleTitle() {
        return articleTitle;
    }

    public void setArticleTitle(String articleTitle) {
        this.articleTitle = articleTitle == null ? null : articleTitle.trim();
    }

    public String getArticleContent() {
        return articleContent;
    }

    public void setArticleContent(String articleContent) {
        this.articleContent = articleContent == null ? null : articleContent.trim();
    }

    public String getArticleImg() {
        return articleImg;
    }

    public void setArticleImg(String articleImg) {
        this.articleImg = articleImg == null ? null : articleImg.trim();
    }

    public String getArticleRecom() {
        return articleRecom;
    }

    public void setArticleRecom(String articleRecom) {
        this.articleRecom = articleRecom == null ? null : articleRecom.trim();
    }

    public Date getArticleTime() {
        return articleTime;
    }

    public void setArticleTime(Date articleTime) {
        this.articleTime = articleTime;
    }

    public String getArticleMark() {
        return articleMark;
    }

    public void setArticleMark(String articleMark) {
        this.articleMark = articleMark == null ? null : articleMark.trim();
    }
}